<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Loading</title>
<!--style start-->
<link href="../../style/doc.css" rel="stylesheet" type="text/css">
<!--style end-->

<!--script start-->
<!--[if lt IE 9]><script src="/common/html5/3.7.3/html5.js"></script><![endif]-->
<!--script end-->
</head>
<body class="docContent">
<h1>Loading</h1>
<section>
  <h2>依赖</h2>
  <p>Masker</p>
</section>
<section>
  <h2>简介</h2>
  <p>列表元素</p>
</section>
<section>
  <h2>用法</h2>
  <article>
  	<pre>
&lt;script type=&quot;text/javascript&quot;&gt;
var loading=new Loading();
&lt;/script&gt;
	</pre>
  </article>
</section>
<section>
  <h2>属性</h2>
  <table class="table">
    <thead>
      <tr>
        <th>名称</th>
        <th>类型</th>
        <th>描述</th>
        <th>默认值</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>masker</td>
        <td>Masker</td>
        <td>遮盖对象</td>
        <td>null</td>
      </tr>
      <tr>
        <td>element</td>
        <td>HTMLElement</td>
        <td>主体元素</td>
        <td>null</td>
      </tr>
      <tr>
        <td>tips</td>
        <td>HTMLElement</td>
        <td>提示元素</td>
        <td>null</td>
      </tr>
      <tr>
        <td>wrapper</td>
        <td>HTMLElement</td>
        <td>包围 元素</td>
        <td>null</td>
      </tr>
      <tr>
        <td>opened</td>
        <td>Boolen</td>
        <td>打开状态</td>
        <td>null</td>
      </tr>
    </tbody>
  </table>
</section>
<section>
  <h2>方法</h2>
  <table class="table">
    <thead>
      <tr>
        <th>方法名</th>
        <th>参数</th>
        <th>返回值</th>
        <th>说明</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>create()</td>
        <td></td>
        <td>void</td>
        <td>创建</td>
      </tr>
      <tr>
        <td>setElement()</td>
        <td>elemnt 元素</td>
        <td></td>
        <td>当有原始html元素时直接设置元素</td>
      </tr>
      <tr>
        <td>setMasker()</td>
        <td>masker Masker 遮盖</td>
        <td></td>
        <td>设置遮盖</td>
      </tr>
      <tr>
        <td>open()</td>
        <td></td>
        <td>void</td>
        <td>打开</td>
      </tr>
      <tr>
        <td>close()</td>
        <td></td>
        <td>void</td>
        <td>关闭</td>
      </tr>
      <tr>
        <td>hide()</td>
        <td></td>
        <td>void</td>
        <td>隐藏</td>
      </tr>
      <tr>
        <td>remove()</td>
        <td></td>
        <td>void</td>
        <td>移除</td>
      </tr>
    </tbody>
  </table>
</section>
</body>
</html>